Identify POSIX tar archives by verifying the ustar signature at byte offset 265 and checking for GNU magic strings using hex dumps.